package com.syh.jn.scm.domain.supplier.repository.finance;

import com.syh.core.ddd.infrastructure.repository.ReadRepo;
import com.syh.jn.scm.domain.supplier.entity.finance.StatementAccountBill;
import com.syh.jn.scm.dto.supplier.finance.statementAccountBill.StatementAccountBillItemVo;

import java.util.List;

public interface StatementAccountBillReadRepository extends ReadRepo<StatementAccountBill, Long> {

  /**
   * 根据对账单id获取明细
   *
   * @param statementId 对账单id
   * @return
   */
  public List<StatementAccountBillItemVo> getItemsByStatementId(Long statementId);
}
